import Layout from '@/layout'

export default {
  path: '/material',
  component: Layout,
  redirect: '/material/guideList',
  name: 'material',
  meta: {
    title: '运营管理',
    icon: 'list'
  },
  children: [
    // {
    //   path: 'guideList',
    //   component: () => import('@/views/material/guideList'),
    //   name: 'guideList',
    //   meta: {title: '引导页管理',activeMenu: '/material/guideList'},
    //   hidden: true
    // },
    {
      path: 'guideList/detail/:id(\\d+)',
      component: () => import('@/views/material/guideDetail'),
      name: 'guideDetail',
      meta: {
        noCache: true,
        title: '引导页详情',
        activeMenu: '/material/guideList'
      },
      hidden: true
    },
    {
      path: 'guideList/operate/:id(\\d+)?',
      component: () => import('@/views/material/guideOperate'),
      name: 'guideOperate',
      meta: {
        noCache: true,
        title: '添加引导页',
        activeMenu: '/material/guideList'
      },
      hidden: true
    },

  ]
}